package base.day16.interface1;

import java.time.DayOfWeek;

public interface inter4 {
    public default void show(){
        log();
        System.out.println("show方法执行");
    }
    public default void show2(){
        log();
        System.out.println("show2中的方法执行");
    }
    private void log(){
        System.out.println("日志");
    }

    public static void open(){
        count();
        System.out.println("open执行");
    }
    public static void open2(){
        count();
        System.out.println("open2执行");
    }
    private static void count(){
        System.out.println("第一天");
    }
}
